package com.penergy.model;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer role;
	private String userName;
	private String password;
	private String useState;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRole() {
		return role;
	}
	public void setRole(Integer role) {
		this.role = role;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUseState() {
		return useState;
	}
	public void setUseState(String useState) {
		this.useState = useState;
	}
	public User(Integer id, Integer role, String userName, String password,
			String useState) {
		super();
		this.id = id;
		this.role = role;
		this.userName = userName;
		this.password = password;
		this.useState = useState;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}



}